<!-- 组件说明 -->
<template>
  <topoPc v-if="!isH5"></topoPc>
  <topoH5 v-else></topoH5>
</template>

<script setup>
import { onMounted, ref, watch } from 'vue'
import topoH5 from './h5.vue'
import topoPc from './pc.vue'
import { isMobileByWidth,isMobile } from '@/utils/common'
const isH5 = ref(false)
onMounted(() => {
  isH5.value = isMobile()
  console.log(isH5.value)
})
</script>

<style lang="scss" src=""></style>
